<%@ page import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理 - 易买网</title>
<link type="text/css" rel="stylesheet" href="../css/style.css" />
<script type="text/javascript" src="../scripts/function-manage.js"></script>
</head>
<body>
<div class="main">
	<c:if test="${replycontent==null || (replycontent.equals(''))}">
		<h2>回复留言</h2>
	</c:if>
	<div class="manage">
		<form action="ReplyLeaveMessageServlet">
			<table class="form">

				<td class="field">留言ID：</td>
				<td>${name3}</td>
				<input type="hidden" name="leaveId" value="${name3}"/>
				</tr>
				<tr>
					<td class="field">留言姓名：</td>
					<td>${name1}</td>
				</tr>
				<tr>
					<td class="field">留言内容：</td>
					<td>${name2}</td>
				</tr>
				<tr>
					<td class="field">回复内容：</td>
					<td><textarea name="replycontent" ></textarea></td>
				</tr>
				<tr>
					<td></td>
					<td><label class="ui-blue"><input type="submit" name="submit" value="更新" /></label></td>
				</tr>
			</table>
		</form>
	</div>
</div>
<script type="text/javascript">
	alert(document.getElementsByName("nameid")[0].value)
</script>
</body>
</html>
